<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="css/sm.min.css">
    <link rel="stylesheet" href="css/sm-extend.css">
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="css/activity.css"/>
</head>
<body>

<div class="page-group " style="display: block;">
    <div id="page-ptr" class="page " style="display: block;">

        <div class="content infinite-scroll index-content" id=''>
            <div class="page-index page-conten ">
                <img class="open-panel-ioc span pull-left open-panel" src="img/open-panel-ioca.png">
                <div class="search-input">
                    <label>
                        <img class="open-panel-ioc" src="img/seacher.png" ng-click="search()">
                        <input type="search" ng-model="searchContent" id='search-activity'
                               placeholder='{{allactimg[0].headLine}}'/>
                    </label>

                    <div ng-show="all==false" ng-click="allactivity()">取消</div>

                </div>
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide" style="width: 100%;">
                            <a href="#activityDetails/{{activity[0].aid}}">
                                <img ng-src="{{url+activity[0].imagePath}}" alt="">

                                <span ng-bind="activity[0].startTime"></span>
                            </a>
                        </div>

                        <div ng-if="activity[1]" class="swiper-slide" style="width: 100%;">
                            <a href="#activityDetails/{{activity[1].aid}}">
                                <img ng-src="{{url+activity[1].imagePath}}" alt="">

                                <span ng-bind="activity[1].startTime"></span>
                            </a>
                        </div>
                        <div ng-if="activity[2]" class="swiper-slide" style="width: 100%;">
                            <a href="#activityDetails/{{activity[2].aid}}">
                                <img ng-src="{{url+activity[1].imagePath}}" alt="">

                                <span ng-bind="activity[2].startTime"></span>
                            </a>
                        </div>


                    </div>
                </div>


            </div>

            <script>


            </script>

            <div class="recommend-content">
                <div class="row">
                    <div class="col-50 group-item" ng-repeat="x in activity">
                        <a href="#activityDetails/{{x.aid}}">
                            <div class="img">
                                <img ng-src="{{url+x.imagePath}}" alt="">
                            </div>

                            <div class="c-detail">
                                <div class="c-title">{{x.headLine}}</div>
                                <div class="c-group">
                                    <span class="c-num">5/{{x.userCount}}</span>
                                    <span class="c-price">{{x.startTime}}</span>
                                </div>
                            </div>
                        </a>
                    </div>


                </div>
            </div>

        </div>

        <nav class="bar bar-tab bottom-tab-li">
            <a class="tab-item external" href="#position">
						<span class="icon near-ico">
                  	<img src="img/near-ico.png"/>
                  </span>
                <span class="tab-label bottom-tab">附近</span>
            </a>
            <a class="tab-item external" href="#activity">
						<span class="icon activity-ico">
                  	<img src="img/activity-ico.png"/>
                  </span>
                <span class="tab-label bottom-tab">活动</span>
            </a>
            <a class="tab-item external" href="#forum">
						<span class="icon forum-ico">
                  	<img src="img/forum-ico.png"/>
                  </span>
                <span class="tab-label bottom-tab">论坛</span>
            </a>

        </nav>
    </div>
    <a href="#publishActivity" class="add" style="z-index: 9999">
        <img src="img/add-ioc.png"/>
    </a>
</div>

<div class="panel panel-left panel-reveal theme-dark " id='panel-left-demo'>
    <img id="panel-bg"/>
    <a href="#person">
        <div class="content-block  ">

            <img ng-if="userImg!=null" class="float-left touxiang" ng-src="{{userImg}}"/>
            <img ng-if="userImg==null" class="float-left touxiang" src="img/noneimg.jpg"/>
            <div class="" ng-if="username!=null">
                <p class="p1" ng-show="nickname==null"><a href="#person"
                                                          style="display: block; margin-top: 20px;">更改昵称</a></p>
                <p class="p1" ng-show="nickname!=null">{{nickname}}</p>

            </div>
            <div  ng-show="username==null">
                <a href="#login" class="gologin">去登陆</a>

            </div>
            <div id="panel-where">
                <img ng-show="username!=null" src="img/near-ico.png">
                <a ng-show="username!=null"> 成都</a>
            </div>

        </div>
    </a>

        <div id="myactivityinf">
            <a href="myActivity.html">
                <div>
                    <span class="num">{{useractivitynum}}</span>
                    <span class="inf">我的活动</span>
                </div>
            </a>
            <a href="myForum.html">
                <div>
                    <span class="num">{{userforumnum}}</span>
                    <span class="inf">我的帖子</span>
                </div>
            </a>
            <a href="myCollection.html">
                <div>
                    <span class="num">{{usercollectnum}}</span>
                    <span class="inf">我的收藏</span>
                </div>
            </a>
        </div>


        <div class="panel-list">
            <ul>
                <li><a href="#person"><img class="float-left" src="img/person-tab.png"/><span
                        class="float-left">主页</span></a></li>
                <li><a href="#myActivity"><img class="float-left" src="img/news-tab.png"/><span
                        class="float-left">我的活动</span></a></li>
                <li><a href="#myForum"><img class="float-left" src="img/parents-tab.png"/><span
                        class="float-left">我的帖子</span></a></li>
                <li><a href="#myCollection"><img class="float-left" src="img/aboutUs-tab.png"/><span
                        class="float-left">我的收藏</span></a></li>
                <li><a href="#feedback"><img class="float-left" src="img/suggest-tab.png"/><span
                        class="float-left">意见反馈</span></a></li>
            </ul>
        </div>

</div>


<script type="text/javascript" src="js/zepto.js" charset='utf-8'></script>
<script type="text/javascript" src="js/sm.min.js" charset='utf-8'></script>
</body>
</html>
